/* Reset and General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #080606;
  color: #ffffff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
header {
  background-color: #1f1f1fbd;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 50px;
}

header nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
}

header nav ul li {
  margin-left: 20px;
}

header nav ul li .cta-button {
  background-color: #00FFFF;
  border: none;
  padding: 10px 20px;
  color: #121212;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s;
}

header nav ul li .cta-button:hover {
  background-color: #00ced1;
}

header nav ul li #language-select {
  background-color: #141729;
  border: 1px solid #ffffff;
  color: #ffffff;
  padding: 5px;
  cursor: pointer;
  border-radius: 5px;
}

/* Hero Section */
#hero {
  text-align: center;
  padding: 100px 0 80px 0;
  background-image: url('../images/ki.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 1200px;
}

#hero h1 {
  margin-top: 5em;
  font-size: 3.5em;
  margin-bottom: 30px;
  line-height: 1.2;
}

#hero p {
  font-size: 1.3em;
  margin-bottom: 40px;
}

#hero .cta-button {
  font-size: 1em;
}

#hero img {
  width: 100%;
  max-width: 700px;
  margin-top: 50px;
}

/* Joinnow Section */
#joinnow {
  text-align: center;
  padding: 100px 0 80px 0;
  background-image: url('../images/pro.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 1200px;
}

#joinnow h1 {
  margin-top: 8em;
  font-size: 3.5em;
  margin-bottom: 30px;
  line-height: 1.2;
}

#joinnow p {
  font-size: 1.3em;
  margin-bottom: 40px;
}

#joinnow img {
  width: 100%;
  max-width: 700px;
  margin-top: 50px;
}

/* Updated Animated Button Styles */
.animated-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 16px 24px;
  background-color: transparent;
  border: 2px solid white;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.6s cubic-bezier(0.23, 1, 0.32, 1),
              color 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 200%;
  height: 200%;
  background-color: white;
  border-radius: 50%;
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arrow {
  width: 24px;
  height: 24px;
  fill: white;
  margin-left: 24px;
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1),
              fill 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover {
  color: black;
}

.animated-button:hover .text {
  transform: translateX(0.5em);
}

.animated-button:hover .arrow {
  transform: translateX(-0.5em);
  fill: #212121;
}

.animated-button:hover .circle {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.animated-button:active {
  transform: scale(0.95);
}

/* Rate Section */
.rate-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 20px;
  background-color: #121426;
  color: #fff;
  min-height: 1000px;
}

.rate-container {
  text-align: center;
  max-width: 800px;
}

.rate-container h2 {
  font-size: 2.5rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: #e2e2e2;
}

.percentage-display {
  display: flex;
  justify-content: center;
  align-items: baseline;
  margin-bottom: 20px;
}

.rate-number {
  font-size: 14rem;
  font-weight: bold;
  color: #292f6b;
}

.rate-symbol {
  font-size: 12rem;
  vertical-align: top;
  color: #292f6b;
}

.description {
  font-size: 1.2rem;
  line-height: 1.5;
  color: #e2e2e2;
}

.legal-link {
  color: rgba(255, 255, 255, 1.0);
  cursor: pointer;
  text-decoration: none;
  margin-left: 5px;
}

.additional-info {
  display: block;
  margin-top: 20px;
}

.chart-button {
  display: inline-block;
  background-color: #313966;
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  margin-top: 30px;
  font-size: 1.2rem;
  cursor: pointer;
}

.chart-button:hover {
  background-color: #2A3057;
}

/* Optional: Responsive Styles */
@media (max-width: 768px) {
  .rate-container h2 {
    font-size: 2rem;
  }
  .rate-number {
    font-size: 5rem;
  }
  .rate-symbol {
    font-size: 3rem;
  }
}

/* Spacer1 Section */
#spacer1 {
  text-align: center;
  padding: 100px 0 80px 0;
  background-color: #141729;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#spacer1 h1 {
  font-size: 2.8em;
  margin-bottom: 2.5em;
  line-height: 1.2;
}

#spacer1 p {
  font-size: 1.3em;
  margin-bottom: 40px;
  margin-top: 40px;
  text-align: left;
}

#spacer1 .cta-button {
  font-size: 1em;
}

#spacer1 img {
  width: 100%;
  max-width: 700px;
  margin-top: 50px;
}

/* About Section */
#about {
  padding: 80px 0;
  background-image: url('../images/dax.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 1200px;
}

#about h2 {
  margin-top: 8em;
  text-align: center;
  margin-bottom: 40px;
  font-size: 3em;
}

#about p {
  text-align: center;
  font-size: 1.5em;
  margin-bottom: 90px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

#about .features {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#about .feature {
  text-align: center;
  width: 22%;
  margin-bottom: 40px;
}

#about .feature img {
  height: 60px;
  margin-bottom: 20px;
}

#about .feature h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
}

#about .feature p {
  font-size: 0.95em;
}

#about .diagram {
  display: block;
  margin: 60px auto 0 auto;
  width: 100%;
  max-width: 600px;
}

/* Text Slideshow Section */
#text-slideshow {
  background-color: #141729;
  padding: 80px 0;
  position: relative;
}

.slideshow-container {
  position: relative;
  max-width: 800px;
  margin: 5em auto;
  min-height: 550px;
}

/* Slide Styles */
.slide {
  position: absolute;
  top: 5em;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  text-align: left;
  padding: 20px;
  font-size: 1.2em;
  color: #ffffff;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

/* Center the heading within the slide */
.slide h3 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 2em;
}

/* Keep paragraphs left-aligned */
.slide p {
  white-space: pre-line;
}

/* Navigation Arrows */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  transform: translateY(-50%);
  color: #ffffff;
  font-weight: bold;
  font-size: 24px;
  border-radius: 50%;
  user-select: none;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s, transform 0.3s;
  z-index: 10;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0);
}

.prev {
  left: -60px;
}

.next {
  right: -60px;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.281);
  transform: translateY(-50%) scale(1.1);
}

/* Indicator Dots */
.dots-container {
  text-align: center;
  padding: 15px 0;
  position: relative;
  z-index: 5;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: #717171;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dot.active, .dot:hover {
  background-color: #bbb;
}

/* Packages Section */
#packages {
  background-color: #141729;
  padding: 80px 0;
}

#packages h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 50px;
  color: #ffffff;
}

.packages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.package {
  background-color: #1f1f1f;
  border-radius: 10px;
  width: 200px;
  padding: 20px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.package h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #00FFFF;
}

.package ul {
  list-style: none;
  padding: 0;
  margin-bottom: 15px;
  font-size: 1em;
}

.package .price {
  font-size: 1.2em;
  margin-bottom: 10px;
}

.package .savings {
  font-size: 0.9em;
  color: #00FFFF;
  margin-bottom: 15px;
}

.package button {
  background-color: #00FFFF;
  color: #121212;
  border: none;
  border-radius: 5px;
  padding: 10px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.package button:hover {
  background-color: #00ced1;
}

/* Pre-Registration Form */
#pre-registration {
  padding: 80px 0;
  text-align: center;
}

#pre-registration h2 {
  margin-bottom: 30px;
  font-size: 2em;
}

#pre-registration form {
  display: inline-block;
  max-width: 500px;
  width: 100%;
  text-align: left;
}

#pre-registration input[type="email"] {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: none;
  border-radius: 5px;
  font-size: 1em;
}

#pre-registration .checkbox {
  margin-bottom: 15px;
  font-size: 0.9em;
}

#pre-registration .checkbox input {
  margin-right: 10px;
}

#pre-registration .checkbox label a {
  color: #00FFFF;
  text-decoration: none;
}

#pre-registration .checkbox label a:hover {
  text-decoration: underline;
}

#pre-registration button {
  background-color: #00FFFF;
  border: none;
  padding: 15px;
  width: 100%;
  color: #121212;
  cursor: pointer;
  font-weight: bold;
  font-size: 1em;
  border-radius: 5px;
  transition: background-color 0.3s;
}

#pre-registration button:hover {
  background-color: #00ced1;
}

/* Footer */
footer {
  background-color: #1f1f1f;
  padding: 30px 0;
  text-align: center;
}

footer .footer-links a {
  margin: 0 15px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95em;
}

footer .footer-links a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
  #about .feature {
    width: 45%;
  }
}

@media (max-width: 768px) {
  header .logo img {
    height: 40px;
  }

  header nav ul li {
    margin-left: 10px;
  }

  header nav ul li .cta-button {
    padding: 8px 12px;
    font-size: 0.9em;
  }

  header nav ul li #language-select {
    padding: 5px;
    font-size: 0.9em;
  }

  #about .features {
    flex-direction: column;
    align-items: center;
  }

  #about .feature {
    width: 80%;
    margin-bottom: 40px;
  }

  /* Adjust Navigation Container */
  .navigation-container {
    position: static;
    transform: none;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Navigation Arrows Adjustments */
  .prev, .next {
    position: fixed;
    transform: none;
    margin: 0 5px;
    font-size: 18px;
    padding: 12px;
    background-color: rgba(0, 0, 0, 0.5);
    visibility: hidden;
  }

  /* Dots Container */
  .dots-container {
    margin: 0 10px;
    padding: 0;
    display: block;
    align-items: center;
  }

  /* Adjust Dot Size */
  .dot {
    height: 48px;
    width: 48px;
    margin: 0 24px;
  }

  /* Slide Text Adjustments */
  .slide {
    position: relative;
    opacity: 1;
    visibility: visible;
    display: none;
  }

  .slide.active {
    display: block;
  }

  /* Remove min-height to allow container to adjust to content */
  .slideshow-container {
    min-height: 600px;
  }

  .packages {
    flex-direction: column;
    align-items: center;
  }

  .package {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 576px) {
  #hero h1 {
    font-size: 2em;
  }

  #hero p {
    font-size: 1em;
  }

  #pre-registration form {
    width: 100%;
  }

  /* Legal Content Section */
  #legal-content {
    padding: 80px 0;
  }

  #legal-content h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
  }

  #legal-content p {
    max-width: 800px;
    margin: 0 auto 20px auto;
    font-size: 1em;
    line-height: 1.6;
  }
}

@media (max-width: 450px) {
  header .logo img {
    height: 30px;
  }

  header nav ul li {
    margin-left: 5px;
  }

  header nav ul li .cta-button {
    padding: 6px 8px;
    font-size: 0.8em;
  }

  header nav ul li #language-select {
    padding: 4px;
    font-size: 0.8em;
  }
}
